package Tree_09.HuffmanCode_06;

/*
 * @Author 罗
 * @date 2020/3/23 - 9:22 上午
 *
 */

import Tree_09.HuffmanTree_05.Node;

public class MapNode extends Node {

    char character;

    public MapNode(int value, char character) {
        super(value);
        this.character = character;
    }

    public MapNode(int value) {
        super(value);
    }

    @Override
    public String toString() {
        return "MapNode{" +
                "character=" + character +"\tvalue="+super.getValue()+
                '}';
    }
}
